package constants;

public final class Constants {
	public static double PI = 3.14159265358979;		//constant
	public static int X = 99999999;					//maximum number
	public static int MAXM = 300;					//maximum stages for markov chain
	public static int MAXU = 60;					//maximum stages for policy to be changed
	public static int YEAR = 4;						//maxumum number of years for mkv_statistics
	public static int CURR = 15;					//maximum milk production levels
	public static int LACT = 12;					//maximum lactations
	public static int MIM = 24;						//maximum months in milk
	public static int MPREG = 9;					//maximum months pregnant
	public static int SEA = 12;						//maximum seasonality classes
	public static int POL = 8;						//default policy value
	public static int AGE = 30;						//maximum female calf age in months
	public static double STAGE = 30.4;				//length of one stage in days (1 stage = 1 month)
	public static double PRUNE = 0.0001;
	public static double MAXDIFF = 0.0005;			//criterion to stop counter
	
	public static int WOODS = 1;
	public static int FIT = 2;
	public static int FLORIDA = 3;
	public static int DIPHASIC = 4;
	
	public static String[] MONTHS = {"", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
	
	public static double KG = 1;
	public static double LBS = 2.20462262;
	
	public static int OPEN_COW = 1;
	public static int PREG_COW = 2;
	
	public static int YES = 1;
	public static int NO = 0;
	
	public static int ANALYZED = 1;
	public static int NOT_ANALYZED = 0;
	
	
	public static int USE_POL = 0;
	public static int OPTIMAL = 1;
	public static int KEEPPREG = 2;
	public static int KEEPALL = 3;
	
	public static String DB_URL = "jdbc:sqlserver://sqldev.ifas.ufl.edu;instanceName=dev;databaseName=ANS_Dairy;";
	public static String DB_USERNAME = "if-svc-ans_dairy_webuser";
	public static String DB_PASSWORD = "Qu7ap&8qapEq";
	
	public static String SESSION_USER_ID = "userId";
	public static String SESSION_EMAIL_ID = "emailId";
	public static String SESSION_USER_NAME = "name";
	
	public static String SESSION_ALL_SCENARIO_LIST = "allScenarioList";
	public static String SESSION_USER_SCENARIO_LIST = "userScenarioList";
	public static String SESSION_ANALYZED_SCENARIO_LIST = "analyzedScenarioList";
	
}